TARGET = usbdriver
OBJS = main.o driver.o ..\states.o


INCDIR =
CFLAGS = -O2 -G0 -Wall -fno-builtin-printf
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

BUILD_PRX = 1
PRX_EXPORTS = support.exp

PSP_FW_VERSION	= 500
USE_KERNEL_LIBC = 1
USE_KERNEL_LIBS = 1

LIBDIR = 
LDFLAGS = -mno-crt0 -nostartfiles 
LIBS += -lpspusbbus_driver -lpspusb

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
